package com.o2opuzi.pub.controller

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.o2opuzi.pub.dao.ConfigDao;

@RestController
@RequestMapping("/admin/config")
class ConfigController {
	
	@Autowired
	private ConfigDao configDao;
	
	@PostMapping("/create")
	def create(){
		return [
			data:configDao.findList()
		]			
		
	}
	
}
